home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / ds5000.md / RCS / machparam.h,v < prev    next >
Encoding:
Text File  |  1991-10-22  |  3.2 KB  |  137 lines

  1. head     1.2;
  2. branch   ;
  3. access   ;
  4. symbols  sprited:1.1.1;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.2
  10. date     91.07.25.12.12.22;  author mendel;  state Exp;
  11. branches ;
  12. next     1.1;
  13.  
  14. 1.1
  15. date     89.07.08.14.56.04;  author nelson;  state Exp;
  16. branches 1.1.1.1;
  17. next     ;
  18.  
  19. 1.1.1.1
  20. date     91.10.22.14.26.21;  author kupfer;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @@
  27.  
  28.  
  29. 1.2
  30. log
  31. @Modified to include limits as <machine/limits.h>
  32. @
  33. text
  34. @/*
  35.  * machparam.h --
  36.  *
  37.  *    This file contains various machine-dependent parameters needed
  38.  *    by UNIX programs running under Sprite.  This file includes parts
  39.  *    of the UNIX header files "machine/machparm.h" and
  40.  *    "machine/endian.h".  Many of things in the UNIX file are only
  41.  *    useful for the kernel;  stuff gets added to this file only
  42.  *    when it's clear that it is needed for user programs.
  43.  *
  44.  * Copyright (C) 1989 by Digital Equipment Corporation, Maynard MA
  45.  *
  46.  *            All Rights Reserved
  47.  *
  48.  * Permission to use, copy, modify, and distribute this software and its 
  49.  * documentation for any purpose and without fee is hereby granted, 
  50.  * provided that the above copyright notice appear in all copies and that
  51.  * both that copyright notice and this permission notice appear in 
  52.  * supporting documentation, and that the name of Digital not be
  53.  * used in advertising or publicity pertaining to distribution of the
  54.  * software without specific, written prior permission.  
  55.  *
  56.  * Digitial disclaims all warranties with regard to this software, including
  57.  * all implied warranties of merchantability and fitness.  In no event shall
  58.  * Digital be liable for any special, indirect or consequential damages or
  59.  * any damages whatsoever resulting from loss of use, data or profits,
  60.  * whether in an action of contract, negligence or other tortious action,
  61.  * arising out of or in connection with the use or performance of this
  62.  * software.
  63.  *
  64.  * $Header: /sprite/src/lib/include/ds3100.md/RCS/machparam.h,v 1.1 89/07/08 14:56:04 nelson Exp $ SPRITE (Berkeley)
  65.  */
  66.  
  67. #ifndef _MACHPARAM
  68. #define _MACHPARAM
  69.  
  70. #ifndef _LIMITS
  71. #include <machine/limits.h>
  72. #endif
  73.  
  74. /*
  75.  *----------------------
  76.  * Taken from endian.h:
  77.  *----------------------
  78.  */
  79.  
  80. /*
  81.  * Definitions for byte order,
  82.  * according to byte significance from low address to high.
  83.  */
  84. #define LITTLE_ENDIAN   1234    /* least-significant byte first (vax) */
  85. #define BIG_ENDIAN      4321    /* most-significant byte first (IBM, net) */
  86. #define PDP_ENDIAN      3412    /* LSB first in word, MSW first in long (pdp) */
  87.  
  88. #define BYTE_ORDER      LITTLE_ENDIAN   /* byte order on vax */
  89.  
  90. /*
  91.  *----------------------
  92.  * Miscellaneous:
  93.  *----------------------
  94.  */
  95.  
  96. /*
  97.  * The bits of a address that should not be set if word loads and stores
  98.  * are done on the address. This mask intended for fast byte manipulation
  99.  * routines.
  100.  */
  101.  
  102. #define    WORD_ALIGN_MASK    0x3
  103.  
  104. /*
  105.  * Size of a page.
  106.  */
  107.  
  108. #define PAGSIZ 0x1000
  109.  
  110. #endif _MACHPARAM
  111. @
  112.  
  113.  
  114. 1.1
  115. log
  116. @Initial revision
  117. @
  118. text
  119. @d31 1
  120. a31 1
  121.  * $Header: /sprite/src/lib/include/sun4.md/RCS/machparam.h,v 1.1 89/01/23 12:48:55 mendel Exp $ SPRITE (Berkeley)
  122. d38 1
  123. a38 1
  124. #include <limits.h>
  125. @
  126.  
  127.  
  128. 1.1.1.1
  129. log
  130. @Initial branch for Sprite server.
  131. @
  132. text
  133. @d31 1
  134. a31 1
  135.  * $Header: /sprite/src/lib/include/ds3100.md/RCS/machparam.h,v 1.1 89/07/08 14:56:04 nelson Exp $ SPRITE (Berkeley)
  136. @
  137.